<!DOCTYPE html>
<style>
path {
  vector-effect: non-scaling-stroke;
  stroke-width: 10px;
  stroke: green;
}
</style>
<svg>
  <g transform="scale(2,1)">
    <path d="M10,10L10,10M110,110L110,110" stroke-linecap="round"/>
    <path d="M110,10L110,10M10,110L10,110" stroke-linecap="square"/>
  </g>
</svg>
